{include file="public/header" /}
<body>
<style>
    .cion{
        display: inline-block;
        width: 120px;
    }
</style>
<div class="page-container">
    <form  method="get" action="">
        <div class="text-c">
            日期范围：
            <input type="text" onfocus="WdatePicker()" value="{:input('get.start')}" name="start" id="datemin" class="input-text Wdate" style="width:120px;" autocomplete="off">
            -
            <input type="text" onfocus="WdatePicker()" value="{:input('get.end')}" name="end" id="datemax" class="input-text Wdate" style="width:120px;" autocomplete="off">
            <input type="text" class="input-text" style="width:150px" placeholder="订单号" value="{:input('order_id')}" name="order_id">
            <input type="text" class="input-text" style="width:150px" placeholder="卡号" value="{:input('card')}" name="card">
            <button type="submit" class="btn btn-success">搜索</button>
        </div>
    </form>

    <div class="cl pd-5 bg-1 bk-gray mt-20">
         <span class="l">
<!--            <a href="javascript:;" onclick="layopen('新增','{:url('goodEdit')}',800,600)" class="btn btn-primary radius"><i class="Hui-iconfont">&#xe600;</i>新增</a>-->
        </span>
        <span class="r">共有数据：<strong>{$list->total()}</strong> 条</span> </div>
    <table class="table table-border table-bordered table-hover table-bg">
        <thead>
            <tr>
                <th scope="col" colspan="12">退款列表</th>
            </tr>
            <tr class="text-c">
                <th width="50">标识</th>
                <th width="50">退款金额</th>
                <th width="100">微信订单号</th>
                <th width="100">微信退款号</th>
                <th width="100">订单号</th>
                <th width="100">卡号</th>
                <th width="100">退款时间</th>
            </tr>
        </thead>
        <tbody>
            {foreach $list as $v}
            <tr class="text-c">
                <td class="text-l">{$v.id}</td>
                <td class="text-l">{$v.totalmoney}</td>
                <td class="text-l">{$v.transaction_id}</td>
                <td class="text-l">{$v.order_refund}</td>
                <td class="text-l">{$v.order_id}</td>
                <td class="text-l">{$v.card}</td>
                <td class="text-l">{:date('Y-m-d H:i:s',$v['refund_time'])}</td>
            </tr>
            {/foreach}
        </tbody>
    </table>
    <div class="page">
        {$list->render()|raw}
    </div>
</div>

{include file="public/footer" /}

<script type="text/javascript">

</script>